package club.sanmubird.springboot_mysqlAndMongodb.mongodb.entity.base;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.mongodb.morphia.annotations.Id;

/**
 * @program: springboot-simpleMongDb
 * @description: this is base Document as super class .
 * @author: sam
 * @create: 2018-07-18 22:37
 * @update: 2018-07-18 22:37
 * @update: Sam
 **/
@Data
@NoArgsConstructor
public class Document {
	@Id
	protected String id;

	protected Integer status = 1 ;

	// 创建时间
//	protected Date createdTime = new Date();
//
//	// 修改时间
//	protected Integer modifiedTime;


}

